package com.cet.designpatterns.state;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-09-26 23:23
 **/
public class Client {
    public static void main(String[] args) {
        RaffleActivity activity = new RaffleActivity(1);
        for (int i = 0; i < 30; i++) {
            System.out.println("---------第" + (i + 1) + "次抽奖---------------");
            activity.debuctPoints();
            activity.raffle();
        }
    }
}
